<ui:component xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:ctg="http://www.crotouristguide.com/taglib">

	<h:form>
		<rich:dataTable id="objekti" rows="20" columnClasses="col" styleClass="list50"
			value="#{oglasiByKorisnik}" var="objekt" width="100%">
			<h:column>
				<ctg:objektTableDesc opis="true" obj="#{objekt}"/>
				<s:link value="#{messages['label.objekt.input.button.edit']}"
					action="#{objektSuggest.izmijeniObjekt('backToObjektiKorisnika')}">
					<f:param name="idObjekta" value="#{objekt.idObjekta}" />
				</s:link>
 			</h:column>
		</rich:dataTable>
		<rich:spacer height="10" />
		<rich:datascroller for="objekti" maxPages="10" />
	</h:form>
</ui:component>